package microBlogger;

import context.*;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

import microBlogger.screens.*;


public class MicroBlogger extends MIDlet implements Debug.Constants
{ //private static final boolean DEBUG=true; // Overriding Debug.Constants.DEBUG
  private Display display=Display.getDisplay(this);
  private EntryListScreen entryListScreen;

  public EntryListScreen getEntryListScreen() { return(entryListScreen); }
	
  public void setEntryListScreen(EntryListScreen entryListScreen)
  { this.entryListScreen=entryListScreen; }
	
  public MicroBlogger() { Context.setMidlet(this); }
  
  public void startApp() // ENTRY-POINT
  { display.setCurrent(new MainScreen(this)); }
	
  public void destroyApp(boolean unconditional) {}
  public void pauseApp() {}
	
  public void exit() { notifyDestroyed(); }

}
